home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PRINTER
/
JPSRC11.ARJ
/
JPSRC11.DOC
< prev
next >
Wrap
Text File
|
1991-08-05
|
5KB
|
140 lines
JETPAK
DeskJet and LaserJet Printer Utilities
SOURCE RELEASE
by
Ross Beresford
Version 1.1 (Public Domain)
4th August 1991
MANIFEST
--------
The JPSRC11 archive should contain the following files:
JPSRC11.DOC This document
JETPAK11.DOC Generic executable code release document
MSDOS11.DOC MSDOS executable code release document
PATCHLEV.H Patch level definition
JETBMP.C Soft font bitmap utility functions
JETBMP.H Soft font bitmap utility definitions
JETFONT.C Soft font utility functions
JETFONT.H Soft font utility definitions
JETMEAN.C Field meaning utility functions
JETMEAN.H Field meaning utility definitions
JETUTIL.C Miscellaneous utility functions
JETUTIL.H Miscellaneous utility definitions
JETD2L.C JETD2L program
JETDMP.C JETDMP program
JETL2D.C JETL2D program
JETPRD.C JETPRD program
JETPRINT.C JETPRINT program
JETRST.C JETRST program
MAKEFILE.TCC JETPAK Makefile for Turbo C++
MAKEFILE.UNX JETPAK Makefile for UNIX
BUILD INSTRUCTIONS
------------------
Turbo C++ on MS-DOS:
The JETPAK programs were developed and built using Turbo
C++ on MS-DOS.
The TLLIBPATH macro in MAKEFILE.TCC will probably need to
be changed to indicate the correct location of your link
libraries.
Once this is done, you should be able to build the
JETPAK11 MS-DOS release executables by renaming
MAKEFILE.TCC to MAKEFILE and typing "make release".
If instead you typed "make debug", you would get
development executables.
Other C compilers on MS-DOS:
The majority of the source code should be portable between
the various MS-DOS 'C' compilers.
The code that may need to be changed is the MS-DOS
specific functionality in JETUTIL.C, compiled in when the
__MSDOS__ macro is defined.
This functionality implements wildcard matching (used in
all the programs) and output to the printer (used in
JETPRINT).
If you want wildcard matching and printer output, you may
need to rework code that calls the Turbo C++ functions
bdos(), findfirst() and findnext().
MAKEFILE.TCC will also need to be adapted to your
environment.
Non MS-DOS platforms:
The majority of the source code should be portable to any
platform supporting 'C' and standard libraries.
The code that will probably need to be changed is the
platform dependent functionality in JETUTIL.C. This
functionality is preceded by comments marked
PLATFORM_DEPENDENT, explaining what may need to be
changed.
The main problems I anticipate are: the addition of code
needed to support printer output; and the need to change
the path name separator from '\\' on MS-DOS to '/' on UNIX
etc.
JETPAK 1.1 has been built and tested on a SparcStation
clone running SunOS 4.1. This platform wasn't chosen for
any particular reason ... just to establish the software's
portability.
MAKEFILE.UNX is the makefile developed for the UNIX
testing: after renaming MAKEFILE.UNX to Makefile, you
should be able to type "make release" to build production
executables and "make debug" to build development
executables.
FUTURE PLANS
------------
With this release, I have completed the package to my own
satisfaction: this is why I am placing it in the public
domain.
I will be interested to hear from users or developers of the
product by email (rberesfo@cix.compulink.co.uk). However, I
am not expecting to do any more work on the product myself.